package com.stu.vertx.hello.vertxDemo.点对点;
 
import io.vertx.core.AbstractVerticle;
import io.vertx.core.eventbus.EventBus;

public class Send extends AbstractVerticle {
    @Override
    public void start() throws Exception {
        EventBus bus=vertx.eventBus();
        bus.send("my.update","send点对点，只有一个消费者能收到");
    }
}